<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2021/11/18
  Time: 15:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <%
        Cookie[] cookies = request.getCookies();
        for (Cookie cookie1 :cookies) {
            if(cookie1.getName().equals("logined")){
                response.sendRedirect("welcome.jsp");
            }
        }
    %>
</body>
</html>
